package com.weimob.mcloud.wechatwork.customer.service.user.base;

import com.weimob.mcloud.wechatwork.customer.service.user.enums.VidTypeEnum;

import java.io.Serializable;
import java.util.Date;

public class PrivateSphereVidDTO implements Serializable {

    private static final long serialVersionUID = 1428603177586465289L;
    /**
     * 自增id
     */
    private Long id;
    /**
     * vid
     */
    private Long vid;

    /**
     * 节点类型 1:集团 2：品牌 3：区域 5：商场 6：楼层  10：门店	 100：自提点/站点
     */
    private VidTypeEnum vidType;

    /**
     * 根节点ID
     */
    private Long rootVid;

    /**
     * parent vid
     * 根节点，parentVid = 0
     */
    private Long parentVid;

    /**
     * 店铺id
     */
    private Long storeId;

    /**
     * 私域id
     */
    private String privateSphereId;


    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 是否删除  0：未删除 1：已删除
     */
    private Boolean deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getVid() {
        return vid;
    }

    public void setVid(Long vid) {
        this.vid = vid;
    }

    public Long getRootVid() {
        return rootVid;
    }

    public void setRootVid(Long rootVid) {
        this.rootVid = rootVid;
    }

    public Long getParentVid() {
        return parentVid;
    }

    public void setParentVid(Long parentVid) {
        this.parentVid = parentVid;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getPrivateSphereId() {
        return privateSphereId;
    }

    public void setPrivateSphereId(String privateSphereId) {
        this.privateSphereId = privateSphereId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public VidTypeEnum getVidType() {
        return vidType;
    }

    public void setVidType(VidTypeEnum vidType) {
        this.vidType = vidType;
    }
}
